package cn.itcast.nems.order.dao.entity;

import cn.itcast.nems.common.entity.LongIdEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * <p>
 * 销售订单行-扩展属性
 * </p>
 *
 * @author liyong
 * @since 2023-08-31
 */
@Getter
@Setter
@TableName("e2_order_line_extend")
@NoArgsConstructor
public class OrderLineExtend extends LongIdEntity {

    /**
     * 订单头
     */
    private String orderId;

    /**
     * 订单行ID
     */
    private String orderLineId;

    /**
     * 拓展字段名称
     */
    private String name;

    /**
     * 拓展字段值
     */
    private String value;
    
    public OrderLineExtend(String orderId, String orderLineId, String name, String value) {
        this.orderId = orderId;
        this.orderLineId = orderLineId;
        this.name = name;
        this.value = value;
    }
}
